// agent-ui/src/api/login/Login.js

import axios from "axios";

export function login(loginData) {
    return axios.post('http://localhost:9527/users/login', loginData);
}

export function sendResetCode(email) {
    return axios.post('http://localhost:9527/users/send-reset-code', { email });
}

export function resetPassword(resetData) {
    return axios.post('http://localhost:9527/users/reset-password', resetData);
}
